.class public Lcom/estrongs/android/pop/app/cleaner/c;
.super Ljava/lang/Object;
.source "CleanerAnimationHelper.java"


# direct methods
.method public static a(Landroid/app/Activity;Lcom/estrongs/android/view/q;Ljava/lang/Runnable;)V
    .locals 8

    if-eqz p0, :cond_3

    if-nez p1, :cond_0

    goto/16 :goto_0

    .line 1
    :cond_0
    invoke-virtual {p1}, Lcom/estrongs/android/view/q;->P0()Lcom/estrongs/android/ui/view/ScanProgressView;

    move-result-object p1

    if-nez p1, :cond_1

    return-void

    .line 2
    :cond_1
    invoke-virtual {p1}, Lcom/estrongs/android/ui/view/ScanProgressView;->b()V

    const v0, 0x7f090712

    .line 3
    invoke-virtual {p0, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f0903f2

    .line 4
    invoke-virtual {p0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    const v1, 0x7f0903f3

    .line 5
    invoke-virtual {p0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    const v1, 0x7f0903f0

    .line 6
    invoke-virtual {p0, v1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    if-eqz v0, :cond_3

    if-eqz v3, :cond_3

    if-eqz v5, :cond_3

    if-nez v6, :cond_2

    goto :goto_0

    :cond_2
    const/4 v1, 0x0

    .line 7
    invoke-virtual {v3, v1}, Landroid/view/View;->setVisibility(I)V

    .line 8
    invoke-virtual {v5, v1}, Landroid/view/View;->setVisibility(I)V

    .line 9
    invoke-virtual {v6, v1}, Landroid/view/View;->setVisibility(I)V

    .line 10
    invoke-virtual {p1}, Lcom/estrongs/android/ui/view/ScanProgressView;->d()V

    const/high16 v1, 0x3f800000    # 1.0f

    .line 11
    invoke-virtual {v0, v1}, Landroid/view/View;->setAlpha(F)V

    const/4 v1, 0x0

    .line 12
    invoke-virtual {v3, v1}, Landroid/view/View;->setAlpha(F)V

    .line 13
    invoke-virtual {v5, v1}, Landroid/view/View;->setAlpha(F)V

    .line 14
    invoke-virtual {v6, v1}, Landroid/view/View;->setAlpha(F)V

    const/high16 v1, 0x42b40000    # 90.0f

    .line 15
    invoke-virtual {v0, v1}, Landroid/view/View;->setRotationY(F)V

    const/high16 v1, 0x43340000    # 180.0f

    .line 16
    invoke-virtual {p1, v1}, Landroid/view/View;->setRotationY(F)V

    const/4 v1, 0x2

    new-array v1, v1, [F

    .line 17
    fill-array-data v1, :array_0

    invoke-static {v1}, Landroid/animation/ValueAnimator;->ofFloat([F)Landroid/animation/ValueAnimator;

    move-result-object v1

    .line 18
    new-instance v2, Lcom/estrongs/android/pop/app/cleaner/c$a;

    invoke-direct {v2, v0, p1}, Lcom/estrongs/android/pop/app/cleaner/c$a;-><init>(Landroid/view/View;Lcom/estrongs/android/ui/view/ScanProgressView;)V

    invoke-virtual {v1, v2}, Landroid/animation/ValueAnimator;->addUpdateListener(Landroid/animation/ValueAnimator$AnimatorUpdateListener;)V

    .line 19
    new-instance p1, Lcom/estrongs/android/pop/app/cleaner/c$b;

    move-object v2, p1

    move-object v4, p0

    move-object v7, p2

    invoke-direct/range {v2 .. v7}, Lcom/estrongs/android/pop/app/cleaner/c$b;-><init>(Landroid/view/View;Landroid/app/Activity;Landroid/view/View;Landroid/view/View;Ljava/lang/Runnable;)V

    invoke-virtual {v1, p1}, Landroid/animation/ValueAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    const-wide/16 p0, 0x1f4

    .line 20
    invoke-virtual {v1, p0, p1}, Landroid/animation/ValueAnimator;->setDuration(J)Landroid/animation/ValueAnimator;

    .line 21
    invoke-virtual {v1}, Landroid/animation/ValueAnimator;->start()V

    :cond_3
    :goto_0
    return-void

    nop

    :array_0
    .array-data 4
        0x0
        0x3f800000    # 1.0f
    .end array-data
.end method
